package com.ken.apollo.domain.bo;

import lombok.Data;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.Size;

/**
 * 联系咨询业务对象
 *
 * @author Ken
 * @since 2024-01-01
 */
@Data
public class ContactInquiryBo {

    /**
     * 姓名
     */
    @Size(max = 100, message = "Name cannot exceed 100 characters")
    private String name;

    /**
     * 邮箱地址
     */
    @Email(message = "Please enter a valid email address")
    @Size(max = 100, message = "Email cannot exceed 100 characters")
    private String email;

    /**
     * 公司/组织
     */
    @Size(max = 100, message = "Company name cannot exceed 100 characters")
    private String company;

    /**
     * 留言内容
     */
    @Size(max = 2000, message = "Message cannot exceed 2000 characters")
    private String message;

    /**
     * 提交者IP地址（由系统自动获取）
     */
    private String ipAddress;

    /**
     * 用户代理信息（由系统自动获取）
     */
    private String userAgent;
}